﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NP.Demo.Model;

namespace NP.Demo.DAL
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestMethod1()
        {
            Customer cus = new Customer();
            cus.Code = "liyb";
            cus.Name = "Albert Lee";
            cus.Address = "Soft Park 3#";
            cus.Status = Customer.CustomerStatus.Y;

            CustomersUtil util = new CustomersUtil();
            int i = util.Add(cus);
            Assert.AreEqual(i, 0);
        }
    }
}
